← Back to issue list

snapcraft close example recommends non-existant flag

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1980155
Type
issue
State
open
Author
~jameinel
Labels
Created
2022-06-28 22:00:37.872349+00:00
Updated
2024-07-17 07:39:02.058508+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Running `snapcraft close help` it gives this example: $ snapcraft close --help Usage: snapcraft close [options] <name> <channel> ... Examples: snapcraft close my-snap --channel beta However, it does not support a `--channel` flag, and the example is incorrect. Following the example gives a failure: $ snapcraft close juju --channel 2.4/stable Usage: snapcraft [options] command [args]... Try 'snapcraft close -h' for help. Error: unrecognized arguments: --channel $ snapcraft --version snapcraft 7.0.7 (all it really needs is to remove the `--channel` from the example command)

Evaluation history

No evaluation history available.